﻿using NHibernate;
using ParaEditor.Common.NHibernate;
using System;

namespace ParaEditor.DAO
{
    public class BaseDAONonSingleton
    {
        protected ISession Session { get; set; }

        public BaseDAONonSingleton()
        {
            NHibernateMemberNonSingleton nHibernateMember = new NHibernateMemberNonSingleton();
            Session = nHibernateMember.GetSession();
            Console.Out.WriteLine(Session.GetHashCode());
        }
    }
}
